<!--
描述：教学管理-班级管理
开发人：hqj
开发日期：2018年08月10日
-->
<template lang="pug">
    keep-alive
        kalix-table(bizKey="classInfo" title='班级列表' v-bind:targetURL="targetURL"
        v-bind:bizDialog="bizDialog" bizSearch="ClassInfoSearch" v-bind:btnList="btnList"
        v-bind:tableFields="tableFields")
</template>

<script type="text/ecmascript-6">
    import {classInfoURL} from '../../config.toml'
    import {classInfoBtnList} from "./config"

    export default {
        name: 'kalix-admin-classinfo',
        data() {
            return {
                btnList: classInfoBtnList,
                targetURL: classInfoURL,
                tableFields: [
                    {prop: 'grade', label: '年级'},
                    {prop: 'majorName', label: '专业名称'},
                    {prop: 'code', label: '班级代码'},
                    {prop: 'name', label: '班级名称'}
                ],
                bizDialog: [
                    {id: 'add', dialog: 'ClassInfoAdd'},
                    {id: 'edit', dialog: 'ClassInfoAdd'}
                ]
            }
        },
        created() {
        },
        methods: {}
    }
</script>

<style scoped lang="stylus" type="text/stylus">
</style>
